package com.zuozhj.controller.PaymentService;

import org.springframework.stereotype.Component;
import com.zuozhj.enums.paymentEnums;

@Component
@SupporType(paymentEnums.CASH) // 支持现金支付
public class Cash implements PaymentService {

    @Override
    public String pay() {
        System.out.println("现金支付成功");
        return "现金支付成功";
    }

}
